#!/bin/bash

cat << endt > machine
$(hostname)
$(hostname)
$(hostname)
$(hostname)
endt

mpirun -machinefile machine -np 4 mdgroup comm.arch 2 2 1 $@
